import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

const routes: Routes = [
  {
    path: "alarm",
    loadChildren: "./alarm/alarm.module#AlarmModule"
  },
  {
    path: "alarmrecord",
    loadChildren: "./alarmrecord/alarmrecord.module#AlarmRecordModule"
  },
  {
    path: "alarmcofig",
    loadChildren: "./alarm-config/alarm-config.module#AlarmConfigModule"
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class MsgRoutingModule { }
